package com.tangcco.lockwell.viewmodel.admin.Inform;

import com.tangcco.lockwell.base.BasePage;
import com.tangcco.lockwell.viewmodel.admin.dataDictionary.DataDictionaryVM;

import java.util.List;

public class InformVM extends BasePage {

    /**
     * 通知实体类
     * @author 王明哲
     *用于映射数据库中的inform表
     */
    /**
     * 自增Id
     */
    private Integer informId;

    /**
     * 接受人的Id  外键关联用户表
     */
    private Integer acceptUserId;

    /**
     * 发送人的Id  外键关联用户表
     */
    private Integer sendUserId;

    /**
     * 发送内容
     */
    private String content;

    /**
     * 是否已读（0 已读  1 未读）
     */
    private Integer isRead;

    /**
     * 通知类型
     */
    private Integer informType;

    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 修改时间
     */
    private String modifyTime;


    /**
     * 是否删除
     */
    int deleted;
    private String informName;



    public InformVM() {
    }

    public InformVM(Integer informId, Integer acceptUserId, Integer sendUserId, String content, Integer isRead, Integer informType, String createTime, String modifyTime, int deleted, String informName) {
        this.informId = informId;
        this.acceptUserId = acceptUserId;
        this.sendUserId = sendUserId;
        this.content = content;
        this.isRead = isRead;
        this.informType = informType;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
        this.deleted = deleted;
        this.informName = informName;
    }

    public Integer getInformId() {
        return informId;
    }

    public InformVM setInformId(Integer informId) {
        this.informId = informId;
        return this;
    }

    public String getInformName() {
        return informName;
    }

    public void setInformName(String informName) {
        this.informName = informName;
    }

    public Integer getAcceptUserId() {
        return acceptUserId;
    }

    public InformVM setAcceptUserId(Integer acceptUserId) {
        this.acceptUserId = acceptUserId;
        return this;
    }

    public Integer getSendUserId() {
        return sendUserId;
    }

    public InformVM setSendUserId(Integer sendUserId) {
        this.sendUserId = sendUserId;
        return this;
    }

    public String getContent() {
        return content;
    }

    public InformVM setContent(String content) {
        this.content = content;
        return this;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public InformVM setIsRead(Integer isRead) {
        this.isRead = isRead;
        return this;
    }

    public Integer getInformType() {
        return informType;
    }

    public InformVM setInformType(Integer informType) {
        this.informType = informType;
        return this;
    }

    public String getCreateTime() {
        return createTime;
    }

    public InformVM setCreateTime(String createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getModifyTime() {
        return modifyTime;
    }

    public InformVM setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
        return this;
    }

    public int getDeleted() {
        return deleted;
    }

    public InformVM setDeleted(int deleted) {
        this.deleted = deleted;
        return this;
    }




    @Override
    public String toString() {
        return "InformVM{" +
                "informId=" + informId +
                ", acceptUserId=" + acceptUserId +
                ", sendUserId=" + sendUserId +
                ", content='" + content + '\'' +
                ", isRead=" + isRead +
                ", informType=" + informType +
                ", createTime='" + createTime + '\'' +
                ", modifyTime='" + modifyTime + '\'' +
                ", deleted=" + deleted +
                '}';
    }
}


